﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetFlux
{
    public class EntryBytes
    {
        public string NetworkName { get; private set; }
        public byte[] Bytes { get; private set; }

        public EntryBytes(string networkName, byte[] bytes)
        {
            this.NetworkName = networkName;
            this.Bytes = bytes; 
        }

        public EntryBytes(string networkName, string data)
        {
            this.NetworkName = networkName;
            this.Bytes = Encoding.ASCII.GetBytes(data);
        }
    }
}
